<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>实验室检查报告</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
        }

        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.5;
            padding: 20px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        h2 {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 20px;
            color: #333;
        }

        .section-title {
            font-size: 16px;
            font-weight: 500;
            margin-bottom: 15px;
            color: #333;
        }

        .row {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -10px;
        }

        .col {
            flex: 1;
            padding: 0 10px;
            min-width: 0;
        }

        .card {
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            padding: 20px;
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
        }

        .chart-container {
            height: 200px;
            margin-top: 20px;
            position: relative;
        }

        .chart-y-axis {
            position: absolute;
            top: 0;
            left: 0;
            width: 30px;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            color: #999;
            font-size: 12px;
        }

        .chart-y-label {
            text-align: left;
        }

        .chart-x-axis {
            position: absolute;
            bottom: 0;
            left: 30px;
            right: 0;
            display: flex;
            justify-content: space-between;
            color: #999;
            font-size: 12px;
        }

        .chart-area {
            position: absolute;
            top: 0;
            left: 30px;
            right: 0;
            bottom: 20px;
            background: linear-gradient(to bottom, rgba(217, 236, 255, 0.5), rgba(217, 236, 255, 0));
            border-radius: 0 0 5px 0;
        }

        .chart-line {
            position: absolute;
            left: 30px;
            right: 0;
            bottom: 20px;
            height: calc(100% - 20px);
        }

        .chart-data-line {
            stroke: #409eff;
            stroke-width: 2;
            fill: none;
        }

        .chart-grid-line {
            stroke: #eee;
            stroke-width: 1;
        }

        .metric-card {
            text-align: center;
            padding: 15px;
        }

        .metric-value {
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .metric-name {
            color: #666;
            font-size: 14px;
            margin-bottom: 5px;
        }

        .metric-status {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 12px;
            margin-top: 5px;
        }

        .metric-normal {
            background-color: #f0f9eb;
            color: #67c23a;
        }

        .metric-warning {
            background-color: #fdf6ec;
            color: #e6a23c;
        }

        .metric-danger {
            background-color: #fef0f0;
            color: #f56c6c;
        }

        .big-number {
            text-align: center;
            padding: 30px 0;
        }

        .big-number-value {
            font-size: 40px;
            font-weight: bold;
            color: #409eff;
            margin-bottom: 10px;
        }

        .big-number-unit {
            font-size: 16px;
            color: #666;
        }

        .big-number-alert {
            margin-top: 10px;
        }

        .alert-icon {
            display: inline-block;
            width: 20px;
            height: 20px;
            line-height: 20px;
            text-align: center;
            background-color: #f56c6c;
            color: white;
            border-radius: 50%;
            margin-right: 5px;
        }

        .reference-value {
            text-align: center;
            font-size: 13px;
            color: #999;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px dashed #eee;
        }

        .metric-row {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid #f0f0f0;
        }

        .metric-row:last-child {
            border-bottom: none;
        }

        .metric-label {
            color: #666;
        }

        .metric-result {
            display: flex;
            align-items: center;
        }

        .metric-result-value {
            font-weight: 500;
            margin-right: 10px;
        }
    </style>
</head>
<body>
<div class="container">
    <h2>实验室检查报告</h2>

    <div class="row">
        <div class="col">
            <div class="card">
                <h3 class="section-title">血尿酸趋势</h3>
                <div class="chart-container">
                    <div class="chart-y-axis">
                        <div class="chart-y-label">600</div>
                        <div class="chart-y-label">500</div>
                        <div class="chart-y-label">400</div>
                        <div class="chart-y-label">300</div>
                        <div class="chart-y-label">200</div>
                        <div class="chart-y-label">100</div>
                        <div class="chart-y-label">0</div>
                    </div>
                    <div class="chart-x-axis">
                        <div>2023-09</div>
                        <div>2023-10</div>
                        <div>2023-11</div>
                        <div>2023-12</div>
                        <div>2024-01</div>
                    </div>
                    <div class="chart-area"></div>
                    <svg class="chart-line" viewBox="0 0 500 200" preserveAspectRatio="none">
                        <line class="chart-grid-line" x1="0" y1="0" x2="500" y2="0" />
                        <line class="chart-grid-line" x1="0" y1="40" x2="500" y2="40" />
                        <line class="chart-grid-line" x1="0" y1="80" x2="500" y2="80" />
                        <line class="chart-grid-line" x1="0" y1="120" x2="500" y2="120" />
                        <line class="chart-grid-line" x1="0" y1="160" x2="500" y2="160" />
                        <line class="chart-grid-line" x1="0" y1="200" x2="500" y2="200" />
                        <path class="chart-data-line" d="M0,100 L125,90 L250,70 L375,80 L500,90" />
                    </svg>
                </div>
            </div>
        </div>

        <div class="col" style="flex: 0 0 40%; max-width: 40%;">
            <div class="card">
                <h3 class="section-title">当前血尿酸水平</h3>
                <div class="big-number">
                    <div class="big-number-value">428</div>
                    <div class="big-number-unit">μmol/L</div>
                    <div class="big-number-alert">
                        <span class="alert-icon">!</span>
                        <span class="metric-status metric-danger">超标警告</span>
                    </div>
                </div>
                <div class="reference-value">
                    <p>正常参考范围：</p>
                    <p>男性: 150-430 μmol/L</p>
                    <p>女性: 90-360 μmol/L</p>
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col">
            <div class="card metric-card">
                <div class="metric-value">89<span style="font-size: 16px">μmol/L</span></div>
                <div class="metric-name">肌酐</div>
                <span class="metric-status metric-normal">正常范围</span>
            </div>
        </div>
        <div class="col">
            <div class="card metric-card">
                <div class="metric-value">5.8<span style="font-size: 16px">mmol/L</span></div>
                <div class="metric-name">尿素</div>
                <span class="metric-status metric-normal">正常范围</span>
            </div>
        </div>
        <div class="col">
            <div class="card metric-card">
                <div class="metric-value">138/85<span style="font-size: 16px">mmHg</span></div>
                <div class="metric-name">血压</div>
                <span class="metric-status metric-warning">轻度高</span>
            </div>
        </div>
        <div class="col">
            <div class="card metric-card">
                <div class="metric-value">26.4<span style="font-size: 16px">kg/m²</span></div>
                <div class="metric-name">体质指数</div>
                <span class="metric-status metric-warning">偏高</span>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col">
            <div class="card">
                <h3 class="section-title">尿酸指标</h3>
                <div class="metric-row">
                    <div class="metric-label">尿酸</div>
                    <div class="metric-result">
                        <div class="metric-result-value">428 μmol/L</div>
                        <span class="metric-status metric-danger">高</span>
                    </div>
                </div>
                <div class="metric-row">
                    <div class="metric-label">尿酸排出率</div>
                    <div class="metric-result">
                        <div class="metric-result-value">3.8 mmol/24h</div>
                        <span class="metric-status metric-normal">正常</span>
                    </div>
                </div>
                <div class="metric-row">
                    <div class="metric-label">肾小球滤过率</div>
                    <div class="metric-result">
                        <div class="metric-result-value">62 ml/min</div>
                        <span class="metric-status metric-normal">正常</span>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col">
            <div class="card">
                <h3 class="section-title">24小时尿酸化物指标</h3>
                <div class="metric-row">
                    <div class="metric-label">尿酸清除率(CLUA)</div>
                    <div class="metric-result">
                        <div class="metric-result-value">4.8%</div>
                        <span class="metric-status metric-warning">低</span>
                    </div>
                </div>
                <div class="metric-row">
                    <div class="metric-label">尿酸排泄</div>
                    <div class="metric-result">
                        <div class="metric-result-value">482 mg/24h</div>
                        <span class="metric-status metric-normal">正常</span>
                    </div>
                </div>
                <div class="metric-row">
                    <div class="metric-label">内源性尿酸肌酐比值</div>
                    <div class="metric-result">
                        <div class="metric-result-value">98 mg/min</div>
                        <span class="metric-status metric-warning">高</span>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col">
            <div class="card">
                <h3 class="section-title">血生化及免疫学相关测定</h3>
                <div class="metric-row">
                    <div class="metric-label">总胆</div>
                    <div class="metric-result">
                        <div class="metric-result-value">5.1 mmol/L</div>
                        <span class="metric-status metric-normal">正常</span>
                    </div>
                </div>
                <div class="metric-row">
                    <div class="metric-label">谷丙转氨</div>
                    <div class="metric-result">
                        <div class="metric-result-value">5.2 mmol/L</div>
                        <span class="metric-status metric-normal">正常</span>
                    </div>
                </div>
                <div class="metric-row">
                    <div class="metric-label">甘油三酯</div>
                    <div class="metric-result">
                        <div class="metric-result-value">1.8 mmol/L</div>
                        <span class="metric-status metric-normal">正常</span>
                    </div>
                </div>
                <div class="metric-row">
                    <div class="metric-label">C反应蛋白</div>
                    <div class="metric-result">
                        <div class="metric-result-value">3.7 mg/L</div>
                        <span class="metric-status metric-normal">正常</span>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="row">
        <div class="col">
            <div class="card">
                <h3 class="section-title">尿液分析</h3>
                <div class="metric-row">
                    <div class="metric-label">尿pH值</div>
                    <div class="metric-result">
                        <div class="metric-result-value">6.2</div>
                        <span class="metric-status metric-normal">正常</span>
                    </div>
                </div>
                <div class="metric-row">
                    <div class="metric-label">尿比重</div>
                    <div class="metric-result">
                        <div class="metric-result-value">1.020</div>
                        <span class="metric-status metric-normal">正常</span>
                    </div>
                </div>
                <div class="metric-row">
                    <div class="metric-label">尿蛋白</div>
                    <div class="metric-result">
                        <div class="metric-result-value">阴性</div>
                        <span class="metric-status metric-normal">正常</span>
                    </div>
                </div>
                <div class="metric-row">
                    <div class="metric-label">尿沉渣</div>
                    <div class="metric-result">
                        <div class="metric-result-value">阴性</div>
                        <span class="metric-status metric-normal">正常</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
